package com.guigu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.pojo.ProductType;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 商品类型表 服务类
 * </p>
 *
 * @author Mr.Zhang
 * @since 2025-03-12
 */
public interface ProductTypeService extends IService<ProductType> {
    Page<ProductType> getProductType(HashMap<String, Object> map);

    List<ProductType> getProductTypeFirstLevel();

    List<ProductType> getProductTypeSecondLevel();
    List<ProductType> getAllProductType();

    List<ProductType> getAllProductTypeByLevel(Integer level);
}
